package nl.nickthissen.remindme.common;

/**
 * Created by nthissen on 11/06/13.
 */
public class SaveResult
{
    public boolean success;
    public String message;

    public static SaveResult ok()
    {
        SaveResult r = new SaveResult();
        r.success = true;
        return r;
    }

    public static SaveResult error(String message)
    {
        SaveResult r = new SaveResult();
        r.success = false;
        r.message = message;
        return r;
    }
}
